#!/usr/bin/env python
# -*- coding: utf-8 -*-

from django.contrib.auth.decorators import login_required
from django.shortcuts import render_to_response, get_object_or_404
from django.utils.translation import ugettext as _

@login_required
def my_items(request):
    return render_to_response("toread/my_items.html", {})

@login_required
def shared_items_for(request, user):
    return render_to_response("toread/shared_items_for.html", {})

@login_required
def bookmark_object(request, content_type_id, object_id):
    return render_to_response("toread/bookmark_object.html", {})

@login_required
def remove_bookmark(request, content_type_id, object_id):
    return render_to_response("toread/remove_bookmark.html", {})

@login_required
def read(request, toread_id):
    return HttpResponseRedirect(object.get_absolute_url())
